﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D99 RID: 3481
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class QuestRecordScNotify : IMessage<QuestRecordScNotify>, IMessage, IEquatable<QuestRecordScNotify>, IDeepCloneable<QuestRecordScNotify>, IBufferMessage
	{
		// Token: 0x17002C43 RID: 11331
		// (get) Token: 0x06009C59 RID: 40025 RVA: 0x001A2AD5 File Offset: 0x001A0CD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<QuestRecordScNotify> Parser
		{
			get
			{
				return QuestRecordScNotify._parser;
			}
		}

		// Token: 0x17002C44 RID: 11332
		// (get) Token: 0x06009C5A RID: 40026 RVA: 0x001A2ADC File Offset: 0x001A0CDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return QuestRecordScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002C45 RID: 11333
		// (get) Token: 0x06009C5B RID: 40027 RVA: 0x001A2AEE File Offset: 0x001A0CEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return QuestRecordScNotify.Descriptor;
			}
		}

		// Token: 0x06009C5C RID: 40028 RVA: 0x001A2AF5 File Offset: 0x001A0CF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuestRecordScNotify()
		{
		}

		// Token: 0x06009C5D RID: 40029 RVA: 0x001A2AFD File Offset: 0x001A0CFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuestRecordScNotify(QuestRecordScNotify other) : this()
		{
			this.hBHFKIGCFFH_ = ((other.hBHFKIGCFFH_ != null) ? other.hBHFKIGCFFH_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009C5E RID: 40030 RVA: 0x001A2B32 File Offset: 0x001A0D32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuestRecordScNotify Clone()
		{
			return new QuestRecordScNotify(this);
		}

		// Token: 0x17002C46 RID: 11334
		// (get) Token: 0x06009C5F RID: 40031 RVA: 0x001A2B3A File Offset: 0x001A0D3A
		// (set) Token: 0x06009C60 RID: 40032 RVA: 0x001A2B42 File Offset: 0x001A0D42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuestRecord HBHFKIGCFFH
		{
			get
			{
				return this.hBHFKIGCFFH_;
			}
			set
			{
				this.hBHFKIGCFFH_ = value;
			}
		}

		// Token: 0x06009C61 RID: 40033 RVA: 0x001A2B4B File Offset: 0x001A0D4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as QuestRecordScNotify);
		}

		// Token: 0x06009C62 RID: 40034 RVA: 0x001A2B59 File Offset: 0x001A0D59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(QuestRecordScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.HBHFKIGCFFH, other.HBHFKIGCFFH) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009C63 RID: 40035 RVA: 0x001A2B8C File Offset: 0x001A0D8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.hBHFKIGCFFH_ != null)
			{
				num ^= this.HBHFKIGCFFH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009C64 RID: 40036 RVA: 0x001A2BC8 File Offset: 0x001A0DC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009C65 RID: 40037 RVA: 0x001A2BD0 File Offset: 0x001A0DD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009C66 RID: 40038 RVA: 0x001A2BD9 File Offset: 0x001A0DD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.hBHFKIGCFFH_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.HBHFKIGCFFH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009C67 RID: 40039 RVA: 0x001A2C0C File Offset: 0x001A0E0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.hBHFKIGCFFH_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HBHFKIGCFFH);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009C68 RID: 40040 RVA: 0x001A2C4C File Offset: 0x001A0E4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(QuestRecordScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.hBHFKIGCFFH_ != null)
			{
				if (this.hBHFKIGCFFH_ == null)
				{
					this.HBHFKIGCFFH = new QuestRecord();
				}
				this.HBHFKIGCFFH.MergeFrom(other.HBHFKIGCFFH);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009C69 RID: 40041 RVA: 0x001A2CA0 File Offset: 0x001A0EA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009C6A RID: 40042 RVA: 0x001A2CAC File Offset: 0x001A0EAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 82U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.hBHFKIGCFFH_ == null)
					{
						this.HBHFKIGCFFH = new QuestRecord();
					}
					input.ReadMessage(this.HBHFKIGCFFH);
				}
			}
		}

		// Token: 0x04003C67 RID: 15463
		private static readonly MessageParser<QuestRecordScNotify> _parser = new MessageParser<QuestRecordScNotify>(() => new QuestRecordScNotify());

		// Token: 0x04003C68 RID: 15464
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003C69 RID: 15465
		public const int HBHFKIGCFFHFieldNumber = 10;

		// Token: 0x04003C6A RID: 15466
		private QuestRecord hBHFKIGCFFH_;
	}
}
